package com.example.attempt.service;

import com.example.attempt.entity.Student;

import java.util.List;

public interface StudentService {
    public List<Student> queryAll();
    public Student queryById(String sid);//根据用户名查询数据
    public Student queryByIdAndP(String sid, String spwd);
    public List<Student> queryByName(String sname);
    public int getNum();
    public void deleteStudent(String sid);
    public int addStudent(Student student);//添加学生
//    public int addStudents(List<Student> students);//批量添加学生
}
